package com.sen.patterns.behavioral.strategy.ex1;

/**
 * 诱饵鸭
 * 
 * @author sen
 * 
 */
public class DecoyDuck extends Duck {
	
	public DecoyDuck() {
		// 不会飞也不会叫
		flyBehavior = new FlyNoWay();
		quackBehavior = new MuteQuack();
	}

	public void display() {
		System.out.println("我是诱饵鸭.....");
	}

}
